package com.ces.knacky.controller.tools;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ces.knacky.framework.controller.ListController;

@Controller
public class ListCompanyController<Company> extends ListController<Company> {

	@RequestMapping("/listCompany.htm")
	public String execute(){
		System.out.println("Company listing Gopal...");
		listEntity = (List<Company>) commonService.list("SELECT company from Company company");
		return "listCompany";
	}
}
